#include <fstream>
#include <iostream>
using namespace std;

void read()
{
    std::ifstream file("w.txt");
    cout << (file.fail() ? "读取失败" : "读取成功") << endl;
}
int main()
{
    read();
    return 0;
}
